﻿using Shake.Framework.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shake.Framework.Attributes
{
    /// <summary>
    /// 订阅
    /// </summary>
    [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
    public class SubscribeAttribute : Attribute
    {
        public Subject Subject { get; set; }

        public SubscribeAttribute(Subject subject)
        {
            Subject = subject;
        }
    }
}
